//public.css
@import "quote.scss";
$colorHeaderBg: #fff;
$colorFooterBg: #35375D;
$headerHeight: 88px;
$footerHeight: 100px; //蒙版，遮住全部
//去掉点击时出现的阴影

a,
button,
div,
img,
input,
p,
span,
textarea {
    -webkit-tap-highlight-color: rgba(255,255,255,0);
}

.datastatus {
    text-align: center;

    span {
        padding: 60px 20px;
        display: inline-block;
    }

    .ing {
        color: #807c7c;
        padding-left: 36px;
        background: url("../img/icon/load.gif") no-repeat left center;
        background-size: 1rem;
    }

    .no {
        color: #ccc;
        padding: 0;
        display: block;
        position: fixed;
        left: 30px;
        right: 30px;
        top: 50%;
        font-size: 24px;
    }
}

.tips {
    position: fixed;
    bottom: 10rem;
    left: 2rem;
    right: 2rem;
    z-index: 100;
    text-align: center;
    transition: all 0.2s ease-out;
    font-size: 1.4rem;
    line-height: 1.5em;
    opacity: 0;

    span {
        display: inline-block;
        background-color: rgba(0,0,0,.5);
        color: #fff;
        padding: 0.8rem 2rem;
        border-radius: 0.4rem;
        min-width: 4rem;
    }
}

.mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background-color: rgba(0,0,0,.3);
}
//蒙版，除了头部底部

.maskin {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background-color: rgba(0,0,0,.3);
}

#app.app {
    height: 100%;
}

.app > div,
.container {
    padding-top: $headerHeight;
}

.hasfoot {
    padding-bottom: $footerHeight;
}

.loading {
    background: rgba(0,0,0,0.1) url("../img/icon/load.gif") no-repeat center /32px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: $colorHeaderBg;
    height: $headerHeight;
    line-height: $headerHeight;
    font-size: 34px;
    //font-weight: bold;
    color: #333;
    border-bottom: 1px solid #CCCCCC;

    .h_back {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 11;
        display: block;
        width: 88px;
        background: url("../img/icon/header_left2.png") no-repeat left 30px center;
        background-size: 20.5px;
    }

    .h_title {
        display: block;
        text-align: center;
        padding: 0 90px;
        @extend .text-els;
        position: relative;

        span {
            background: url("../img/icon/more.png") no-repeat right center;
            background-size: 28px;
            padding-right: 40px;

            &.sigle {
                padding-right: 0;
                background: none;
            }
        }

        .sltbox {
            float: left;
            width: 80%;
            margin-left: 10%;
            margin-top: -80px;
            height: 80px;
            opacity: 0;
        }
    }

    .h_link {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 11;
        display: block;
        width: 88px;
        background-position: right 30px center;
        background-repeat: no-repeat;
        text-align: right;
    }

    a.color-blue,
    a.color_blue,
    a.color_gary {
        padding-right: 30px;
        width: 80px;
    }

    .add_blue {
        background-image: url("../Img/icon/add_blue.png");
        background-size: 35px;
    }

    .add_gree {
        background-image: url("../Img/icon/add_gree.png");
        background-size: 35px;
    }

    .three_point {
        background-image: url("../Img/icon/three_point.png");
        background-size: 35px;
    }

    .delete_red {
        background-image: url("../Img/icon/delete_red.png");
        background-size: 35px;
    }

    .del {
        background-image: url("../Img/icon/del.png");
        background-size: 30px;
    }

    .refresh {
        background-image: url("../Img/icon/refresh.png");
        background-size: 35px;
    }

    .home {
        background-image: url("../Img/icon/home3.png");
        background-size: 40px;
    }

    .infoshare {
        background-image: url("../Img/info/share.png");
        background-size: 35px;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    min-height: $footerHeight;

    .fitem {
        display: block;
        border-top: 1px solid #ccc;
        text-align: center;
        background-color: #fff;
        padding: 20px 0;
        font-size: 30px;
        letter-spacing: 4px;

        &:last-child {
            color: $colorBlue;
        }
    }
}

.confirmbox {
    .mask {
        display: block;
    }

    .cfm {
        width: 560px;
        height: auto;
        position: fixed;
        left: calc(50% - 280px);
        left: -moz-calc(50% - 280px);
        left: -webkit-calc(50% - 280px);
        top: 35%;
        background-color: #fff;
        border-radius: 10px;
        z-index: 16;
    }

    .title {
        line-height: 94px;
        height: 94px;
        text-align: center;
        color: $colorBlue;
        font-size: 34px;
    }

    .content {
        font-size: 28px;
        text-align: center;
        color: #333333;
        padding: 0 30px 40px;

        .cfmkb {
            width: 100px;
        }
    }

    .cfm_content {
        word-wrap: break-word;
        max-height: 151px;
        display: block;
        overflow: auto;
    }

    .bottom {
        height: 88px;
        line-height: 88px;
        border-top: 1px solid #ddd;
        //position: absolute;
        //bottom: 0;
        //left: 0;
        //right: 0;
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        text-align: center;
        font-size: 34px;

        .item {
            flex: 1;
            color: #666;
            border-left: 1px solid #ccc;
            box-sizing: border-box;

            &:first-child {
                border-left: 0;
            }
        }

        .sure {
            color: $colorBlue;
        }

        .cancel {
            color: $colorRed;
        }

        .cancel2 {
            color: #333;
        }
    }
}

.footer_List {
    .content {
        height: 488px;
        width: 100%;
        background: $colorWhite;
    }

    .button {
        height: 88px;
        display: flex;
        line-height: 88px;
        border-bottom: 1px solid #DDDDDD;

        span {
            flex: 1;
            font-size: 32px;
        }

        .cancel {
            padding-left: 30px;
            color: $colorRed;
        }

        .ok {
            text-align: right;
            padding-right: 30px;
            color: $colorBlue;
        }
    }

    .content_list {
        max-height: 369px;
        overflow-x: hidden;
        overflow-y: visible;
        padding: 0 40px 30px;

        p {
            text-align: center;
            padding-top: 30px;
            font-size: 28px;
        }

        li {
            min-width: 50%;
            box-sizing: border-box;
            font-size: 28px;
            float: left;
            // height: 50px;
            // line-height: 50px;
            text-align: left;
            padding: 20px 30px 0;

            input {
                box-sizing: border-box;
                margin-right: 5px;
            }
        }
    }
}
/**
 * 预览图片的样式
 */
.previewImg {
    position: relative;

    .imgs {
        width: 80%;
        position: absolute;
        left: 10%;
        background-color: #fff;
        z-index: 16;
    }
}

.remaining_word_count {
    //width: 120px;
    position: absolute;
    right: 20px;
    bottom: 30px;
}

.transparent_mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    //background-color: rgba(0,0,0,0);
}
/**
 * 图片加载
 */

.pageLoding {
    background: rgba(0, 0, 0, .1);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;

    .model_layout_loding {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1000000;
    }

    .lodingMain {
        width: 60px;
        height: 60px;
        position: relative;
        z-index: 10000001;
        margin: 0 auto;
        //background: #F1F1F1;
        top: 50%;
        margin-top: -60px;
        border-radius: 10px;
    }

    .lodingMain img {
        width: 60px;
        height: 60px;
    }
}

.zoomShowImg {}

.color-white {
    color: $colorWhite!important;
}

.color-blue {
    color: $colorBlue!important;
}

.bgc-white {
    background-color: $colorWhite!important;
}

.bgc-black {
    background-color: $colorBlack!important;
}

.bgc-gary {
    background-color: $colorGary!important;
}

.bgc-orange {
    background-color: $colorOrange!important;
}

.bgc-yellow {
    background-color: $colorYellow!important;
}

.bgc-blue {
    background-color: $colorBlue!important;
}

.bgc-red {
    background-color: $colorRed!important;
}

.breakall {
    word-break: break-all;
}

#refreshbox {
    // position: fixed;
    // left: 0;
    // right: 0;
    // top: 88px;
    // bottom: 0;
    position: relative;

    #status {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        text-align: center;
        color: #807c7c;
        line-height: 120px;
        display: none;

        span {
            padding-left: 36px;
            background: url("../img/icon/dn.png") no-repeat left center;
            background-size: 1rem;

            &.active {
                background-image: url("../img/icon/up.png");
            }
        }
    }
}

#commoniframe {
    iframe {
        // position: fixed;
        // bottom: 0;
        // left: 0;
        // right: 0;
        // top: 88px;
        border: 0;
        width: 100vw;
        height: 100vh;
    }
}

.useno {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    _filter:none;
}
